import SwiftUI

// identifies the app’s entry point
@main
// conforms to the App protocol
struct LandmarksApp: App {
    // Just like SwiftUI initializes state in a view only once during the lifetime of the view
    // it initializes state in an app only once during the lifetime of the app
    @State private var modelData = ModelData()
    
    // returns one or more scenes
    // provide content for display
    var body: some Scene {
        WindowGroup {
            ContentView()
                .environment(modelData)
        }
    }
}
